{% extends 'WebQuant/base.html' %}
{% block title %}策略代码{% endblock %}
{% block content %}
{% include 'WebQuant/deal_nav.html' %}
<div class="leftmask"></div>
{% include 'WebQuant/deal_nav_left.html' %}
<div class="right_cont" style="width:55%;">
    <div class="clouddeal" >
        <div id="editor">{{src_code}}</div>
	</div>
</div>
<script src="/static/UPQuant/js/ace/ace.js"></script>
<script>
    var editor = ace.edit("editor");
    editor.setTheme("ace/theme/xcode");
    editor.session.setMode("ace/mode/python");
    editor.setFontSize(14);
    editor.setReadOnly(true);
</script>
{% endblock %}